home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacOS Resource Fork
(archive/rsrc).
id metadata |
---|
key | value |
---|
macFileType | [clpt] |
macFileCreator | [drag] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 16 07 00 02 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 02 00 00 00 09 00 00 |........|........|
|00000020| 00 32 00 00 00 20 00 00 | 00 02 00 00 00 52 00 00 |.2... ..|.....R..|
|00000030| 05 39 63 6c 70 74 64 72 | 61 67 01 00 00 00 00 00 |.9clptdr|ag......|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 01 00 00 00 | 04 f3 00 00 03 f3 00 00 |........|........|
|00000060| 00 46 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.F......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000080| 00 00 0a 52 6f 74 61 74 | 65 2e 63 6c 70 69 65 54 |...Rotat|e.clpieT|
|00000090| 6f 46 69 6c 65 2e 63 6c | 70 6c 70 6c 70 70 6c 70 |oFile.cl|plplpplp|
|000000a0| 70 79 02 00 63 6c 70 74 | 64 72 61 67 01 00 ff ff |py..clpt|drag....|
|000000b0| ff ff 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 b5 3c b3 8c | 00 00 00 00 00 00 05 39 |.....<..|.......9|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 03 cb 09 2f | 2f 20 73 65 74 20 74 68 |......./|/ set th|
|00000160| 65 20 63 6f 6e 74 65 6e | 74 73 20 6f 66 20 61 20 |e conten|ts of a |
|00000170| 6d 61 74 72 69 78 20 73 | 6f 20 74 68 61 74 20 69 |matrix s|o that i|
|00000180| 74 20 70 65 72 66 6f 72 | 6d 73 20 6e 6f 20 74 72 |t perfor|ms no tr|
|00000190| 61 6e 73 66 6f 72 6d 61 | 74 69 6f 6e 0d 09 53 65 |ansforma|tion..Se|
|000001a0| 74 49 64 65 6e 74 69 74 | 79 4d 61 74 72 69 78 28 |tIdentit|yMatrix(|
|000001b0| 20 26 6d 61 74 72 69 78 | 20 29 3b 0d 09 0d 09 2f | &matrix| );..../|
|000001c0| 2f 20 6d 6f 64 69 66 79 | 20 74 68 65 20 63 6f 6e |/ modify| the con|
|000001d0| 74 65 6e 74 73 20 6f 66 | 20 61 20 6d 61 74 72 69 |tents of| a matri|
|000001e0| 78 20 73 6f 20 74 68 61 | 74 20 69 74 20 64 65 66 |x so tha|t it def|
|000001f0| 69 6e 65 73 20 61 20 72 | 6f 74 61 74 69 6f 6e 20 |ines a r|otation |
|00000200| 6f 70 65 72 61 74 69 6f | 6e 0d 09 2f 2f 20 39 30 |operatio|n..// 90|
|00000210| 20 64 65 67 72 65 65 73 | 20 74 6f 20 74 68 65 20 | degrees| to the |
|00000220| 72 69 67 68 74 20 2d 20 | 61 6e 63 68 6f 72 20 61 |right - |anchor a|
|00000230| 74 20 30 2e 30 20 74 6f | 70 2d 6c 65 66 74 20 0d |t 0.0 to|p-left .|
|00000240| 09 52 6f 74 61 74 65 4d | 61 74 72 69 78 28 20 26 |.RotateM|atrix( &|
|00000250| 6d 61 74 72 69 78 2c 09 | 09 09 2f 2f 20 70 6f 69 |matrix,.|..// poi|
|00000260| 6e 74 65 72 20 74 6f 20 | 74 68 65 20 6d 61 74 72 |nter to |the matr|
|00000270| 69 78 20 73 74 72 75 63 | 74 75 72 65 0d 09 09 09 |ix struc|ture....|
|00000280| 09 20 20 4c 6f 6e 67 32 | 46 69 78 28 20 39 30 20 |. Long2|Fix( 90 |
|00000290| 29 2c 09 2f 2f 20 74 68 | 65 20 6e 75 6d 62 65 72 |),.// th|e number|
|000002a0| 20 6f 66 20 64 65 67 72 | 65 65 73 20 6f 66 20 72 | of degr|ees of r|
|000002b0| 6f 74 61 74 69 6f 6e 20 | 4e 4f 54 45 3a 20 54 48 |otation |NOTE: TH|
|000002c0| 49 53 20 49 53 20 41 20 | 46 49 58 45 44 20 56 41 |IS IS A |FIXED VA|
|000002d0| 4c 55 45 0d 09 09 09 09 | 20 20 30 2c 09 09 09 09 |LUE.....| 0,....|
|000002e0| 2f 2f 20 78 20 63 6f 6f | 72 64 69 6e 61 74 65 20 |// x coo|rdinate |
|000002f0| 6f 66 20 61 6e 63 68 6f | 72 20 70 6f 69 6e 74 0d |of ancho|r point.|
|00000300| 09 09 09 09 20 20 30 20 | 29 3b 09 09 09 09 2f 2f |.... 0 |);....//|
|00000310| 20 79 20 63 6f 6f 72 64 | 69 6e 61 74 65 20 6f 66 | y coord|inate of|
|00000320| 20 61 6e 63 68 6f 72 20 | 70 6f 69 6e 74 0d 09 0d | anchor |point...|
|00000330| 09 09 20 20 0d 09 2f 2f | 20 77 65 20 6e 65 65 64 |.. ..//| we need|
|00000340| 20 74 6f 20 72 65 74 75 | 72 6e 20 74 68 65 20 74 | to retu|rn the t|
|00000350| 6f 70 2d 6c 65 66 74 20 | 63 6f 72 6e 65 72 20 6f |op-left |corner o|
|00000360| 66 20 74 68 65 20 72 6f | 74 61 74 65 64 20 69 6d |f the ro|tated im|
|00000370| 61 67 65 20 62 61 63 6b | 20 74 6f 20 69 74 27 73 |age back| to it's|
|00000380| 0d 09 2f 2f 20 6f 72 69 | 67 69 6e 2c 20 73 6f 20 |..// ori|gin, so |
|00000390| 61 64 64 20 61 20 74 72 | 61 6e 73 6c 61 74 69 6f |add a tr|anslatio|
|000003a0| 6e 20 76 61 6c 75 65 20 | 74 6f 20 61 20 73 70 65 |n value |to a spe|
|000003b0| 63 69 66 69 65 64 20 6d | 61 74 72 69 78 20 0d 09 |cified m|atrix ..|
|000003c0| 54 72 61 6e 73 6c 61 74 | 65 4d 61 74 72 69 78 28 |Translat|eMatrix(|
|000003d0| 20 26 6d 61 74 72 69 78 | 2c 09 09 09 09 09 09 09 | &matrix|,.......|
|000003e0| 2f 2f 20 70 6f 69 6e 74 | 65 72 20 74 6f 20 74 68 |// point|er to th|
|000003f0| 65 20 6d 61 74 72 69 78 | 20 73 74 72 75 63 74 75 |e matrix| structu|
|00000400| 72 65 0d 09 09 09 09 09 | 20 4c 6f 6e 67 32 46 69 |re......| Long2Fi|
|00000410| 78 28 20 6e 61 74 75 72 | 61 6c 42 6f 75 6e 64 73 |x( natur|alBounds|
|00000420| 2e 62 6f 74 74 6f 6d 20 | 29 2c 09 2f 2f 20 64 65 |.bottom |),.// de|
|00000430| 6c 74 61 48 20 2d 20 76 | 61 6c 75 65 20 61 64 64 |ltaH - v|alue add|
|00000440| 65 64 20 74 6f 20 74 68 | 65 20 78 20 63 6f 6f 72 |ed to th|e x coor|
|00000450| 64 69 6e 61 74 65 20 4e | 4f 54 45 3a 20 46 49 58 |dinate N|OTE: FIX|
|00000460| 45 44 20 56 41 4c 55 45 | 53 0d 09 09 09 09 09 20 |ED VALUE|S...... |
|00000470| 30 20 29 3b 09 09 09 09 | 09 09 09 09 2f 2f 20 64 |0 );....|....// d|
|00000480| 65 6c 74 61 56 20 2d 20 | 76 61 6c 75 65 20 61 64 |eltaV - |value ad|
|00000490| 64 65 64 20 74 6f 20 74 | 68 65 20 79 20 63 6f 6f |ded to t|he y coo|
|000004a0| 72 64 69 6e 61 74 65 20 | 0d 09 0d 09 2f 2f 20 73 |rdinate |....// s|
|000004b0| 65 74 20 74 68 65 20 74 | 72 61 6e 73 66 6f 72 6d |et the t|ransform|
|000004c0| 61 74 69 6f 6e 20 6d 61 | 74 72 69 78 20 74 6f 20 |ation ma|trix to |
|000004d0| 75 73 65 20 66 6f 72 20 | 64 72 61 77 69 6e 67 20 |use for |drawing |
|000004e0| 61 6e 20 69 6d 61 67 65 | 09 09 09 20 0d 09 65 72 |an image|... ..er|
|000004f0| 72 20 3d 20 47 72 61 70 | 68 69 63 73 49 6d 70 6f |r = Grap|hicsImpo|
|00000500| 72 74 53 65 74 4d 61 74 | 72 69 78 28 20 69 6d 70 |rtSetMat|rix( imp|
|00000510| 6f 72 74 65 72 2c 20 26 | 6d 61 74 72 69 78 20 29 |orter, &|matrix )|
|00000520| 3b 00 00 00 20 00 00 00 | 01 00 00 00 04 00 00 00 |;... ...|........|
|00000530| 00 00 00 00 01 54 45 58 | 54 00 00 01 00 00 00 00 |.....TEX|T.......|
|00000540| 00 00 00 00 00 00 00 01 | 00 00 00 04 f3 00 00 03 |........|........|
|00000550| f3 00 00 00 46 0f 38 50 | 20 03 fe 00 00 00 1c 00 |....F.8P| .......|
|00000560| 46 00 01 54 45 58 54 00 | 00 00 12 64 72 61 67 00 |F..TEXT.|...drag.|
|00000570| 00 00 1e 01 00 ff ff 00 | 00 00 00 00 db 5d 44 00 |........|.....]D.|
|00000580| 80 ff ff 00 00 03 cf 00 | db 40 84 |........|.@. |
+--------+-------------------------+-------------------------+--------+--------+